package com.pubinfo.passbook.common.model.dto.contract;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pubinfo.passbook.common.model.dto.system.PageParamBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ApiModel(value = "TaxParam", description = "税金计提参数")
@ToString
public class TaxParam extends PageParamBase {

    @ApiModelProperty(value = "公司代码")
    private Integer orgId;

    @ApiModelProperty(value = "关键字")
    protected String keyword;

    @ApiModelProperty(value = "开票日期起始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    protected Date startTime;

    @ApiModelProperty(value = "开票日期截止")
    @JsonFormat(pattern = "yyyy-MM-dd")
    protected Date endTime;

}
